﻿using Xtensive.Orm;

namespace TypeDiscriminator.Model
{
    [TypeDiscriminatorValue("book")]
    public class Book : Product
    {
        [Field]
        public int Pages { get; set; }

        public Book(Session session)
            : base(session)
        {
        }
    }
}
